package com.digitalchina.lxnsy.sy.jgc;

import android.webkit.JavascriptInterface;

import com.digitalchina.lxnsy.base.BaseHtmlActivity;
import com.digitalchina.lxnsy.sy.milkManagement.QrCodeViewActivity;


public class SalesTraceabilityCodeQueryActivity extends BaseHtmlActivity {
    private int tag = 0;

    @Override
    protected void loadHtml() {
        webView.addJavascriptObject(new JsApi(), null);

        loadUrl("salesTraceabilityCodeQuery");
        setTitle("生鲜乳销售溯源码查询");

    }



    @Override
    public void rightOnClick() {


    }


    public class JsApi {


        @JavascriptInterface
        public void salesTraceabilityCodeDetails(Object msg) {
            go(SalesTraceabilityCodeDetailsActivity.class);

        }
        @JavascriptInterface
        public void qrCodeView(Object msg) {
             go(QrCodeViewActivity.class);

        }



    }
}
